<section class="content-header">
    <h1>
        IPPI Admin Page
        <small>Events</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="<?php echo base_url("admin_home");?>"><i class="fa fa-dashboard"></i> Home</a></li>
        <li><a href="<?php echo base_url("admin_slide");?>"><i class="fa fa-picture-o"></i> Admin Slide</a></li>
        <li class="active">&nbsp;upload new</li>
    </ol>
</section>
<!-- Main content -->
<section class="content">
    <!-- Main row -->
    <div class="row">
        <div class="col-md-12">
            <div id="output">
                
            </div>
        </div>
        <div class='col-md-12'>
            <div class='box'>
                <div class='box-header'>
                    <h3 class='box-title'>Tambah Data<small> Slide</small></h3>
                    <!-- tools box -->
                    <div class="pull-right box-tools">
                        <button class="btn btn-default btn-sm" data-widget='collapse' data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
                        <button class="btn btn-default btn-sm" data-widget='remove' data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
                    </div><!-- /. tools -->
                </div><!-- /.box-header -->
                <div class='box-body pad'>
                    <form role="form" action="<?php echo site_url();?>admin_slide/do_upload" method="post" id="MyUploadForm" enctype="multipart/form-data">
                        <div class="form-group">
                            <label for="userfile">Gambar Slide</label>
                            <input type="file" id="imageInput" name="userfile" accept="image/*" />
                            <p class="help-block">.jpg .jpeg .png.</p>
                        </div>
                        <div class="form-group" style="border-top: 1px dotted #ddd;padding-top: 20px;">
                            <button type="submit" id="btn-add-event" class="btn btn-primary">&nbsp;Start Upload</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>    
</section>